class Calc {
    public:
        Calc(): value(2) {};
        Calc(int v): value(v) {};
        ~Calc() = default;
        int& getValue();
    private:
        int value;
};